﻿Imports System.ComponentModel

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class ucCertificationTypeList
    Inherits System.Windows.Forms.UserControl

#Region "Designer"
    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
	End Sub
	Friend WithEvents CertificationTypeId As System.Windows.Forms.DataGridViewTextBoxColumn
	Friend WithEvents CertificationType As System.Windows.Forms.DataGridViewTextBoxColumn
	Friend WithEvents DiplomaSuperTypeId As System.Windows.Forms.DataGridViewComboBoxColumn

	'Required by the Windows Form Designer
	Private components As System.ComponentModel.IContainer

	'NOTE: The following procedure is required by the Windows Form Designer
	'It can be modified using the Windows Form Designer.  
	'Do not modify it using the code editor.
	<System.Diagnostics.DebuggerStepThrough()> _
	Private Sub InitializeComponent()
		Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
		Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
		Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
		Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
		Me.grdCertificationType = New org.codegen.win.controls.Grid.CGSQLGrid()
		Me.CertificationTypeId = New System.Windows.Forms.DataGridViewTextBoxColumn()
		Me.CertificationType = New System.Windows.Forms.DataGridViewTextBoxColumn()
		Me.DiplomaSuperTypeId = New System.Windows.Forms.DataGridViewComboBoxColumn()
		CType(Me.grdCertificationType, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.SuspendLayout()
		'
		'grdCertificationType
		'
		Me.grdCertificationType.AllowUserToAddRows = False
		Me.grdCertificationType.AllowUserToDeleteRows = False
		Me.grdCertificationType.AllowUserToOrderColumns = True
		Me.grdCertificationType.AllowUserToResizeRows = False
		DataGridViewCellStyle1.BackColor = System.Drawing.Color.AntiqueWhite
		Me.grdCertificationType.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
		Me.grdCertificationType.BackgroundColor = System.Drawing.SystemColors.Window
		Me.grdCertificationType.BindingSource = Nothing
		Me.grdCertificationType.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal
		Me.grdCertificationType.ColumnIndexToHide = 0
		Me.grdCertificationType.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.CertificationTypeId, Me.CertificationType, Me.DiplomaSuperTypeId})
		Me.grdCertificationType.DBMapper = Nothing
		Me.grdCertificationType.Dock = System.Windows.Forms.DockStyle.Fill
		Me.grdCertificationType.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically
		Me.grdCertificationType.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.grdCertificationType.gpEditForm = "Forms.Edit.frmCertificationTypeDetails"
		Me.grdCertificationType.gpKeyColumnName = "CertificationTypeId"
		Me.grdCertificationType.gpSelectFields = "*"
		Me.grdCertificationType.gpSelectFrom = "CertificationType"
		Me.grdCertificationType.gpSortColumn = "CertificationType"
		Me.grdCertificationType.gpSortDirection = System.ComponentModel.ListSortDirection.Ascending
		Me.grdCertificationType.gpWhereclause = "   "
		Me.grdCertificationType.GridColor = System.Drawing.SystemColors.Control
		Me.grdCertificationType.GridColumnProvider = Nothing
		Me.grdCertificationType.isLocalizable = False
		Me.grdCertificationType.lastLoadedSQL = ""
		Me.grdCertificationType.Location = New System.Drawing.Point(0, 0)
		Me.grdCertificationType.Name = "grdCertificationType"
		Me.grdCertificationType.ReadOnly = True
		DataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Desktop
		DataGridViewCellStyle4.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		DataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText
		DataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight
		DataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText
		Me.grdCertificationType.RowHeadersDefaultCellStyle = DataGridViewCellStyle4
		Me.grdCertificationType.RowHeadersVisible = False
		Me.grdCertificationType.RowTemplate.Height = 20
		Me.grdCertificationType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
		Me.grdCertificationType.SelectSQLStatement = Nothing
		Me.grdCertificationType.Size = New System.Drawing.Size(751, 419)
		Me.grdCertificationType.TabIndex = 0
		'
		'CertificationTypeId
		'
		Me.CertificationTypeId.DataPropertyName = "CertificationTypeId"
		DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight
		Me.CertificationTypeId.DefaultCellStyle = DataGridViewCellStyle2
		Me.CertificationTypeId.HeaderText = "CertificationTypeId"
		Me.CertificationTypeId.Name = "CertificationTypeId"
		Me.CertificationTypeId.ReadOnly = True
		Me.CertificationTypeId.Visible = False
		Me.CertificationTypeId.Width = 50
		'
		'CertificationType
		'
		Me.CertificationType.DataPropertyName = "CertificationType"
		DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft
		Me.CertificationType.DefaultCellStyle = DataGridViewCellStyle3
		Me.CertificationType.HeaderText = "Certification Type"
		Me.CertificationType.Name = "CertificationType"
		Me.CertificationType.ReadOnly = True
		Me.CertificationType.Width = 500
		'
		'DiplomaType
		'
		Me.DiplomaSuperTypeId.DataPropertyName = "DiplomaSuperTypeId"
		Me.DiplomaSuperTypeId.HeaderText = "Type"
		Me.DiplomaSuperTypeId.Name = "DiplomaSuperTypeId"
		Me.DiplomaSuperTypeId.ReadOnly = True
		Me.DiplomaSuperTypeId.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
		Me.DiplomaSuperTypeId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic

		'ucCertificationTypeList
		'
		Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
		Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
		Me.Controls.Add(Me.grdCertificationType)
		Me.Name = "ucCertificationTypeList"
		Me.Size = New System.Drawing.Size(751, 419)
		CType(Me.grdCertificationType, System.ComponentModel.ISupportInitialize).EndInit()
		Me.ResumeLayout(False)

	End Sub

    Public WithEvents grdCertificationType As org.codegen.win.controls.Grid.CGSQLGrid


#End Region

#Region "Standard Code"

    ''' <summary>
    ''' On load of control, we set the event handler for delete
    ''' </summary>
    Private Sub ucListCertificationType_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.setColumnDataSources()

    End Sub

    'use this method to assign datasources to columns that are combo boxes!
    Protected Sub setColumnDataSources()
        If Me.DesignMode Then Exit Sub
		Me.DiplomaSuperTypeId.HeaderCell = New DataGridViewAutoFilterComboColumnHeaderCell()
		'Me.DiplomaSuperTypeId.HeaderCell
		Me.DiplomaSuperTypeId.HeaderText = "Type"
		Me.DiplomaSuperTypeId.DataSource = DiplomaSuperTypeDataUtils.findList
		Me.DiplomaSuperTypeId.ValueMember = "DiplomaSuperTypeId"
		Me.DiplomaSuperTypeId.DisplayMember = "DiplomaSuperTypeCode"
		Me.DiplomaSuperTypeId.FlatStyle = FlatStyle.Flat
    End Sub


#End Region

End Class

